package com.example.demo.Dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo.bean.customer;
import com.example.demo.bean.staff;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface staffdao extends BaseMapper<staff> {

    @Select("select * from staff")
    List<staff> ShowAllstaff();


    @Select("select count(*) from staff")
    public int Totalstaff();
}
